package com.kun.gulimall.member.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("guli-coupon")
public interface CouponFeign {

    @GetMapping("/coupon/coupon/list")
    ResponseEntity<Object> list(@RequestParam Map<String, Object> params);

}
